package com.leave.mos.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @ClassName Order
 * @Description TODO
 * @Author lh
 * @Date 2021/7/8 11:51
 * @Version 1.0
 *
 *  "_id": ObjectId("60e67603581d0000cb007304"),
 *     "dealId": "3374558",
 *     "dealName": "20170206124575",
 *     "zoneId": 100002,
 *     "goodsNum": 1,
 *     "creater": "3374998458",
 *     "creatTime": "2017-02-06 16:43:17",
 *     "overdueTime": "2017-02-21 16:43:17",
 *     "endTime": "2017-02-06 16:45:49",
 *     "status": 4,
 *     "price": 142421,
 *     "goodsDetail": {
 *         "curDeadline": "2017-04-06 14:07:46",
 *         "newMemsize": 8192,
 *         "newDisksize": 60,
 *         "oldMemsize": 4096,
 *         "oldDisksize": 30,
 *         "SerialIds": [
 *             "cmgo-6ozqe0uh"
 *         ]
 *     }
 **/
@Getter
@Setter
public class Order implements Serializable {

    private String id;
    private String dealId;
    private String dealName;
    private String zoneId;
    private String goodsNum;
    private String creater;
    private String creatTime;
    private String overdueTime;
    private String endTime;
    private String status;
    private String price;
    private String goodsDetail;

    private String[] boxPrice;

    private int x;

    private int y;


    public Order() {
    }

    public Order(int x, int y) {
        this.x = x;
        this.y = y;
    }


    @Override
    public String toString() {
        return "Order{" +
                "status='" + status + '\'' +
                ", x=" + x +
                ", y=" + y +
                '}';
    }
}
